<?php


//获取参数
$osl_old_oscid  = $route->bodyParams['osl_old_oscid'];
$osl_new_oscid  = $route->bodyParams['osl_new_oscid'];
$osl_osid       = $route->bodyParams['osl_osid'];
$osl_old_ocid   = $route->bodyParams['osl_old_ocid'];
$osl_new_ocid   = $route->bodyParams['osl_new_ocid'];
$osl_new_ocsid  = $route->bodyParams['osl_new_ocsid'];
$osl_student_type  = $route->bodyParams['osl_student_type'];

//写入数组
$insertArr = [
    'osl_old_oscid'              => $osl_old_oscid,
    'osl_new_oscid'            => $osl_new_oscid,
    'osl_osid'  => $osl_osid,
    'osl_old_ocid'             => $osl_old_ocid,
    'osl_new_ocid'               => $osl_new_ocid,
    'osl_new_ocsid'          => $osl_new_ocsid,
    'osl_student_type'          => $osl_student_type
];

//执行写入语句
$rsData = $db->mysqlDB->insert("oa_supplement_lession",$insertArr);

//返回成功结果
$response->responseData( true, $rsData );